package com.itheima.time;

import org.springframework.stereotype.Component;

/**
 * @PackageName: com.itheima.test
 * @ClassName: Text
 * @Author: Renyz
 * @Date: 2020/3/19 17:28
 * @Description: //TODO
 */

//定时任务demo
@Component
public class TimedTask {

//    @Scheduled(cron = "0/10 * * * * ? ")
//    public String test() {
//        Date date = new Date();
//        System.out.println(date);
//
//
//        return "aaa";
//    }
}
